<template>
  <div>
    <!-- 这个是头部样式封装复用 -->
    <el-row class="bg-lightgreen shadow" type="flex" align="middle">
      <el-col :span="2" :offset="2">
        <img style="cursor: pointer;" src="@/assets/imgs/home/hubu_logo.png" @click="backToHome()">
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  methods: {
    backToHome () {
      this.$router.push('home')
    }
  }
}
</script>

<style lang="less" scoped>
.bg-lightgreen {
  background-color: #1e6f46;
  // background-image: linear-gradient(to bottom, #638b6e, #87ac92);
  height: 12vh;
  border-radius: 2px;
  border-bottom: 2px solid #799982;
}
</style>
